package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Member;
import com.itheima.pojo.OrderPLS;

import java.util.List;

public interface OrderPLSService {

    //分页查询
    PageResult findPage(QueryPageBean queryPageBean);

    //添加会员
    Result add(OrderPLS orderPLS, Integer[] setmealIds) throws Exception;

    //根据id查询会员信息
    Member findByid(Integer id);

    //根据会员id查询所有检查套餐
    List<Integer> findsetmealIds(Integer id);

    //编辑会员信息
    void edit(Member member, Integer[] setmealIds);

    //删除会员信息
    void delete(Integer id);

    //修改状态
    void zhuangtai(Integer id);
}

